package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 预测收款对象 alp_stage_predict
 * 
 * @author zhangjun
 * @date 2020-02-15
 */
public class AlpStagePredict extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 合同id */
    @Excel(name = "合同id")
    private Long contractId;

    /** 阶段id */
    @Excel(name = "阶段id")
    private Long stageId;

    /** 自增序号 */
    @Excel(name = "自增序号")
    private Integer seqNo;

    /** 预测收款金额 */
    @Excel(name = "预测收款金额")
    private BigDecimal predictMoney;

    /** 预测收款时间 */
    @Excel(name = "预测收款时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date predictTime;

    /** 修改人 */
    @Excel(name = "修改人")
    private String updatedBy;

    /** 修改时间 */
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedTime;

    /** 删除标记 */
    @Excel(name = "删除标记")
    private Integer delFlag;

    private AlpContractDetail alpContractDetail;

    private AlpContractStage alpContractStage;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setContractId(Long contractId) 
    {
        this.contractId = contractId;
    }

    public Long getContractId() 
    {
        return contractId;
    }
    public void setStageId(Long stageId) 
    {
        this.stageId = stageId;
    }

    public Long getStageId() 
    {
        return stageId;
    }
    public void setSeqNo(Integer seqNo) 
    {
        this.seqNo = seqNo;
    }

    public Integer getSeqNo() 
    {
        return seqNo;
    }
    public void setPredictMoney(BigDecimal predictMoney) 
    {
        this.predictMoney = predictMoney;
    }

    public BigDecimal getPredictMoney() 
    {
        return predictMoney;
    }
    public void setPredictTime(Date predictTime) 
    {
        this.predictTime = predictTime;
    }

    public Date getPredictTime() 
    {
        return predictTime;
    }
    public void setUpdatedBy(String updatedBy) 
    {
        this.updatedBy = updatedBy;
    }

    public String getUpdatedBy() 
    {
        return updatedBy;
    }
    public void setUpdatedTime(Date updatedTime) 
    {
        this.updatedTime = updatedTime;
    }

    public Date getUpdatedTime() 
    {
        return updatedTime;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }

    public AlpContractDetail getAlpContractDetail() {
        return alpContractDetail;
    }

    public void setAlpContractDetail(AlpContractDetail alpContractDetail) {
        this.alpContractDetail = alpContractDetail;
    }

    public AlpContractStage getAlpContractStage() {
        return alpContractStage;
    }

    public void setAlpContractStage(AlpContractStage alpContractStage) {
        this.alpContractStage = alpContractStage;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("contractId", getContractId())
            .append("stageId", getStageId())
            .append("seqNo", getSeqNo())
            .append("predictMoney", getPredictMoney())
            .append("predictTime", getPredictTime())
            .append("updatedBy", getUpdatedBy())
            .append("updatedTime", getUpdatedTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
